package com.tfjybj.itoo.teach.provider.facade;

import org.apache.dubbo.config.annotation.Service;
import com.github.pagehelper.PageInfo;
import com.tfjybj.itoo.teach.FacadeApi.DictionaryApi;
import com.tfjybj.itoo.teach.entity.DictionaryEntity;
import com.tfjybj.itoo.teach.provider.service.DictionaryService;

import javax.annotation.Resource;

/**
 * @author 吕德彪
 * @ClassName DictionaryFacade
 * @DESCRIPTION TODO
 * @create 2019/5/21
 */
@Service
@org.springframework.stereotype.Service
public class DictionaryFacade implements DictionaryApi {

    @Resource
    DictionaryService dictionaryService;

    @Override
    public PageInfo<DictionaryEntity> queryByLikeName(String name, Integer pageNo, Integer pageSize) {
        return dictionaryService.queryByLikeName(name,pageNo,pageSize);
    }
}
